package com.yj.generator;

import java.io.File;
import java.util.regex.Matcher;

/**
 * @title TODO
 * @author DengLin
 * @date 2024/07/15
 */
public class Test {
    public static void main(String[] args) {
//        String projectPath = System.getProperty("user.dir");
//        String path = projectPath + File.separator+"src\\main\\java";
//        File parentFile = new File(path);
//
//        File file = new File(parentFile, "cn" + File.separator + "ts" + File.separator + "create");
//
//        if (!file.exists()) {
//            System.out.println(file.mkdirs());
//        }

        String packageName = "com.yj.generator";
        System.out.println(packageName.replaceAll("\\.", Matcher.quoteReplacement("\\")));
    }
}
